/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ourMessage;

/**
 *
 * @author abdala
 */
public class Bye extends Message{
    private static final long serialVersionUID = 4849L;
    private String login;
    public Bye(String login) {
        super(login);
        this.login=login;
    }
    @Override
    public String toString() {
        return "Bye from " + getLogin() ;
    }       

    /**
     * @return the login
     */
    public String getLogin() {
        return login;
    }
    
}
